package com.iot.fire.common.enums;

public enum DeviceOnlineStatus {

    OFFLINE("0", "离线"), ONLINE("1", "在线");

    private final String code;
    private final String info;

    DeviceOnlineStatus(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
